package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 族内悄悄话对象 fam_message
 * 
 * @author wk
 * @date 2022-05-28
 */
public class FamMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信息id */
    private Long msgId;

    /** 信息内容 */
    @Excel(name = "信息内容")
    private String msgText;

    /** 分支id */
    @Excel(name = "分支id")
    private Long deptId;

    public void setMsgId(Long msgId) 
    {
        this.msgId = msgId;
    }

    public Long getMsgId() 
    {
        return msgId;
    }
    public void setMsgText(String msgText) 
    {
        this.msgText = msgText;
    }

    public String getMsgText() 
    {
        return msgText;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("msgId", getMsgId())
            .append("msgText", getMsgText())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .toString();
    }
}
